﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace AuthCenter_HuangJingtao.Infrastructure.Migrations
{
    /// <inheritdoc />
    public partial class 读取4 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "App_Xians",
                table: "Appss",
                newName: "XianId");

            migrationBuilder.RenameColumn(
                name: "App_Citys",
                table: "Appss",
                newName: "CityId");

            migrationBuilder.RenameColumn(
                name: "App_Address",
                table: "Appss",
                newName: "AddressId");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "XianId",
                table: "Appss",
                newName: "App_Xians");

            migrationBuilder.RenameColumn(
                name: "CityId",
                table: "Appss",
                newName: "App_Citys");

            migrationBuilder.RenameColumn(
                name: "AddressId",
                table: "Appss",
                newName: "App_Address");
        }
    }
}
